|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvnet.flamingo.utils.ArrowResizableIcon
public class ArrowResizableIcon
Helper implementation of ResizableIcon that draws an arrow.
| Constructor Summary | |
|---|---|
ArrowResizableIcon(java.awt.Dimension initialDim,
int direction)
Creates a new arrow resizable icon. |
|
ArrowResizableIcon(int initialDim,
int direction)
Creates a new arrow resizable icon. |
|
| Method Summary | |
|---|---|
int |
getIconHeight()
|
int |
getIconWidth()
|
void |
paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
|
void |
revertToOriginalDimension()
|
void |
setDimension(java.awt.Dimension newDimension)
Changes the dimension of this icon. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArrowResizableIcon(java.awt.Dimension initialDim,
int direction)
initialDim - Initial icon dimension.direction - Arrow direction. Must be one of SwingConstants.SOUTH,
SwingConstants.NORTH, SwingConstants.EAST or
SwingConstants.WEST.
public ArrowResizableIcon(int initialDim,
int direction)
initialDim - Initial icon dimension.direction - Arrow direction. Must be one of SwingConstants.SOUTH,
SwingConstants.NORTH, SwingConstants.EAST or
SwingConstants.WEST.| Method Detail |
|---|
public void revertToOriginalDimension()
public void setDimension(java.awt.Dimension newDimension)
ResizableIconthis icon.
setDimension in interface ResizableIconnewDimension - New dimension for this icon.public int getIconHeight()
getIconHeight in interface javax.swing.Iconpublic int getIconWidth()
getIconWidth in interface javax.swing.Icon
public void paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
paintIcon in interface javax.swing.Icon
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||